package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.supervision.dto.create.JzdxPhysicalConditionCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxPhysicalConditionResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxPhysicalConditionUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxPhysicalConditionEntity;

public interface JzdxPhysicalConditionService extends IService<JzdxPhysicalConditionEntity> {
    /**
     * 查询矫正对象身体状况
     *
     * @param code 矫正对象编号
     * @return JzdxPhysicalConditionResultDTO
     */
    JzdxPhysicalConditionResultDTO find(String code);

    Boolean create(JzdxPhysicalConditionCreateDTO dto, String code);

    Boolean updateByCode(JzdxPhysicalConditionUpdateDTO dto, String code);
}